
target_include_directories(${PROJECT_NAME} 
    PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
    PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/MahonyAHRS)

aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR} attitude_common_src)
aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR}/MahonyAHRS mahony_src)

target_sources(${PROJECT_NAME} 
    PRIVATE ${attitude_common_src}
    PRIVATE ${mahony_src})